package com.ht.dsp;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * Created by IntelliJ IDEA.
 *
 * @author Dong Shufeng
 *         Date: 2009-4-27
 */
public interface ScadaDataUpdator extends Remote {
    int POINT_TYPE_DISCRETE = 1;
    int POINT_TYPE_ANALOG = 2;

    /**
     * update realtime data from ems, file or memoru cache
     *
     * @throws RemoteException
     */
    void update() throws RemoteException;

    /**
     * @throws RemoteException
     */
    void save() throws RemoteException;

}
